#include "CSDLColor.h"

CSDLColor::CSDLColor() {
	m_color = new SDL_Color;
	m_color->r = 0;
	m_color->g = 0;
	m_color->b = 0;
	m_color->unused = 0;
	m_alpha = 255;
}

CSDLColor::CSDLColor(unsigned short r, unsigned short g, unsigned short b, unsigned short a) {
	m_color = new SDL_Color;
	m_color->r = r;
	m_color->g = g;
	m_color->b = b;
	m_color->unused = 0;
	m_alpha = a;
}

CSDLColor::~CSDLColor() {
	delete m_color;
}
